package com.zc.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zc.blog.model.Category;

import java.util.List;

/**
 * 用户Mapper接口
 */
public interface CategoryMapper extends BaseMapper<Category> {

    Category findById(Integer id);

    //查询分类显示
    List<Category> findShow();
}
